//
//  FFWalletWithdrawAccountVM.m
//  LLWallet
//
//  Created by tt on 2020/9/9.
//

#import "FFWalletWithdrawAccountVM.h"
#import "FFWalletWithdrawAccountCell.h"
#import "FFBankcardListVC.h"
@implementation FFWalletWithdrawAccountVM

- (NSArray<NSDictionary *> *)tableSectionMaps {
    
    return @[
        @{
            @"height":@(0.01f),
            @"items":@[
//                    @{
//                        @"class": FFWalletWithdrawAccountModel.class,
//                        @"title": LLang(@"支付宝"),
//                        @"desc":LLang(@"立即绑定"),
//                        @"icon": [self imageName:@"icon_zfb"],
//                        @"onClick":^{
//
//                        }
//                    },
                    @{
                        @"class": FFWalletWithdrawAccountModel.class,
                        @"title": LLang(@"银联支付"),
                        @"desc":LLang(@"立即绑定"),
                        @"icon": [self imageName:@"icon_unionpay"],
                        @"onClick":^{
                            [[WKNavigationManager shared] pushViewController:[FFBankcardListVC new] animated:YES];
                        }
                    }
            ],
        },
    ];
}
-(UIImage*) imageName:(NSString*)name {
    return [[WKApp shared] loadImage:name moduleID:@"LLWallet"];
}

@end
